func golang.org/x/tools/internal/gcimporter.errorf
31 uses
golang.org/x/tools/internal/gcimporter (current package)
bimport.go#L17: func errorf(format string, args ...any) {
bimport.go#L86: errorf("unexpected channel dir %d", d)
iexport.go#L1266: errorf("malformed type parameter export name %s: missing prefix", exportName)
iimport.go#L36: errorf("import %q: read varint error: %v", r.path, err)
iimport.go#L44: errorf("import %q: read varint error: %v", r.path, err)
iimport.go#L176: errorf("unknown bundle format version %d", v)
iimport.go#L185: errorf("unstable iexport format version %d, just rebuild compiler and std library", version)
iimport.go#L187: errorf("unknown iexport format version %d", version)
iimport.go#L288: errorf("internal error: getPackages returned nil package for %q", item.Path)
iimport.go#L290: errorf("internal error: getPackages returned wrong path %q, want %q", pkg.Path(), item.Path)
iimport.go#L292: errorf("internal error: getPackages returned wrong name %s for package %q, want %s", pkg.Name(), item.Path, item.Name)
iimport.go#L312: errorf("no packages found for %s", path)
iimport.go#L432: errorf("%v.%v not in index", pkg, name)
iimport.go#L448: errorf("varint failed")
iimport.go#L500: errorf("SetLines failed: %d", lines) // can't happen
iimport.go#L510: errorf("missing package %q in %q", path, p.ipath)
iimport.go#L520: errorf("predeclared type missing from cache: %v", off)
iimport.go#L644: errorf("unexpected type param type")
iimport.go#L662: errorf("non-interface constraint marked implicit")
iimport.go#L680: errorf("unexpected tag: %v", tag)
iimport.go#L720: errorf("unexpected type %v", typ) // panics
iimport.go#L783: errorf("weird decoding: %v, %v => %v", n, signed, v)
iimport.go#L888: errorf("unexpected kind tag in %q: %v", r.p.ipath, k)
iimport.go#L982: errorf("unexpected type param type")
iimport.go#L996: errorf("unexpected instantiation type")
iimport.go#L1018: errorf("unexpected instantiation type")
iimport.go#L1095: errorf("readVarint: %v", err)
iimport.go#L1103: errorf("readUvarint: %v", err)
iimport.go#L1111: errorf("declReader.ReadByte: %v", err)
ureader_yes.go#L342: errorf("unhandled type tag: %v", tag)
ureader_yes.go#L640: errorf("unexpected object with %v implicit type parameter(s)", implicits)